{{ define "template/serIndex.html" }}
<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script type="application/javascript" src="../../static/js/jquery-1.12.4.min.js"></script>
    <script type="application/javascript" src="../../static/js/jquery.cookie-1.4.1.min.js"></script>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
          integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
    <!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap-theme.min.css"
          integrity="sha384-6pzBo3FDv/PJ8r2KRkGHifhEocL+1X2rVCTTkUfGk7/0pbek5mMa1upzvWbrUbOZ" crossorigin="anonymous">
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"
            integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd"
            crossorigin="anonymous"></script>
    <script src="../../static/js/jquery.cookie-1.4.1.min.js"></script>
    <link rel="stylesheet" href="../../static/css/serIndex.css">
    <link rel="stylesheet" href="../../static/css/codeMgr.css">
    <link rel="stylesheet" href="../../static/css/todoMgr.css">
    <link rel="stylesheet" href="../../static/css/taskWork.css">
    <link rel="stylesheet" href="../../static/css/wuLiu.css">
    <link rel="stylesheet" href="../../static/css/bindCode.css">
    <link rel="stylesheet" href="../../static/css/bomName.css">
<!--    <link rel="stylesheet" href="/static/laydate/theme/default/laydate.css">-->
    <title>{{ .title }}</title>
</head>
{{ block "style" .}}{{ end }}
<body>
<!-- 左侧菜单 -->
<div class="menu_box col-md-2 col-xs-2">
    <div class="menu_logo">
        <div class="menu_img">
            <a href="/admin"><img src="../../static/img/login_logo.png"></a>
        </div>
        <div class="menu_title"><span>售 后 管 控 系 统</span></div>
    </div>
    <div class="user_box">
        <div class="user_img">
            <img src="../../static/img/user_logo.png" class="user_logo">
        </div>
        <div class="user_info">欢迎您：<span onclick="clickBtn()">管理员</span></div>
        <div class="user_menu">
            <ul>
                <li><a href="/sign" onclick="switchUser()">切换用户</a></li>
                <li><a onclick="quitLogin()">退出登录</a></li>
            </ul>
        </div>
    </div>
    <div class="menu_list_box">
        <ul class="menu_list_ul1">
            <li id="list_1">基础资料
                <i class="menu_list_ico_1 glyphicon glyphicon-chevron-right" onclick="showHide(this)"></i>
                <ul class="menu_list_ul2_1" style="display: none">
                    {{ if eq .tid 1 }}
                    <a>
                        <li onclick="checkSonMenu(this)" id="user_mgr">用户管理</li>
                    </a> <!-- /admin/user_mgr -->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">客户管理</li>
                    </a> <!-- /admin/client_mgr -->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">物流公司</li>
                    </a> <!-- /admin/printer_mgr -->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">物料管理</li>
                    </a> <!-- /admin/mater_mgr -->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">配置名称</li>
                    </a> <!-- /admin/mater_mgr -->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">打印机管理</li>
                    </a> <!-- /admin/printer_mgr -->
                    <a href="/admin/add_new_product">
                        <li>添加推荐品</li>
                    </a>
                    {{ else if eq .tid 2 }}
                    <a>
                        <li onclick="checkSonMenu(this)" id="user_mgr">用户管理</li>
                    </a> <!-- /admin/user_mgr -->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">客户管理</li>
                    </a> <!-- /admin/client_mgr -->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">物流公司</li>
                    </a> <!-- /admin/printer_mgr -->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">物料管理</li>
                    </a> <!-- /admin/mater_mgr -->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">配置名称</li>
                    </a> <!-- /admin/mater_mgr -->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">打印机管理</li>
                    </a> <!-- /admin/printer_mgr -->
                    <a href="/admin/add_new_product">
                        <li>添加推荐品</li>
                    </a>
                    {{ else if eq .tid 3 }}
                    <a href="#">
                        <li onclick="checkSonMenu(this)">物料管理</li>
                    </a> <!-- /admin/mater_mgr -->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">配置名称</li>
                    </a> <!-- /admin/mater_mgr -->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">打印机管理</li>
                    </a> <!-- /admin/printer_mgr -->
                    {{ else if eq .tid 4 }}
                    <a href="#">
                        <li onclick="checkSonMenu(this)">客户管理</li>
                    </a> <!-- /admin/client_mgr -->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">物流公司</li>
                    </a> <!-- /admin/printer_mgr -->
                    {{ else if eq .tid 5 }}
                    <a href="#">
                        <li onclick="checkSonMenu(this)">客户管理</li>
                    </a> <!-- /admin/client_mgr -->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">物流公司</li>
                    </a> <!-- /admin/printer_mgr -->
                    {{ else if eq .tid 6 }}
                    <a>
                        <li onclick="checkSonMenu(this)" id="user_mgr">用户管理</li>
                    </a> <!-- /admin/user_mgr -->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">客户管理</li>
                    </a> <!-- /admin/client_mgr -->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">物流公司</li>
                    </a> <!-- /admin/printer_mgr -->
                    <a href="/admin/add_new_product">
                        <li>添加推荐品</li>
                    </a>
                    {{ else if eq .tid 7 }}
                    {{ else if eq .tid 9 }}
                    <a href="#">
                        <li onclick="checkSonMenu(this)">物料管理</li>
                    </a> <!-- /admin/mater_mgr -->
                    <a>
                        <li onclick="checkSonMenu(this)" id="user_mgr">用户管理</li>
                    </a> <!-- /admin/user_mgr -->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">配置名称</li>
                    </a> <!-- /admin/mater_mgr -->
                    {{ end }}
                </ul>
            </li>
            <li id="list_2">业务管理
                <i class="menu_list_ico_2 glyphicon glyphicon-chevron-right" onclick="showHide(this)"></i>
                <ul class="menu_list_ul2_2" style="display: none">
                    {{ if eq .tid 1 }}
                    <a href="#">
                        <li onclick="checkSonMenu(this)">产品组装</li>
                    </a> <!-- /admin/mater_mgr -->
                    <a href="#">
                        <li onclick="checkSonMenu(this)" id="CodeMenu">条码打印</li>
                    </a>
                    <a href="#">
                        <li onclick="checkSonMenu(this)">条码绑定</li>
                    </a> <!-- /admin/bind -->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">待办事项</li>
                    </a> <!-- /admin/matter -->
                    <!--/admin/print_code-->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">业务工单</li>
                    </a> <!-- /admin/work -->
                    <a href="/admin/scanQrCode">
                        <li>仓库出货</li>
                    </a> <!-- /admin/work -->
                    {{ else if eq .tid 2 }}
                    <a href="#">
                        <li onclick="checkSonMenu(this)">产品组装</li>
                    </a> <!-- /admin/mater_mgr -->
                    <a href="#">
                        <li onclick="checkSonMenu(this)" id="CodeMenu">条码打印</li>
                    </a>
                    <a href="#">
                        <li onclick="checkSonMenu(this)">条码绑定</li>
                    </a> <!-- /admin/bind -->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">待办事项</li>
                    </a> <!-- /admin/matter -->
                    <!--/admin/print_code-->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">业务工单</li>
                    </a> <!-- /admin/work -->
                    <a href="/admin/scanQrCode">
                        <li>仓库出货</li>
                    </a>
                    {{ else if eq .tid 3 }}
                    <a href="#">
                        <li onclick="checkSonMenu(this)">产品组装</li>
                    </a> <!-- /admin/mater_mgr -->
                    <a href="#">
                        <li onclick="checkSonMenu(this)" id="CodeMenu">条码打印</li>
                    </a>
                    <a href="#">
                        <li onclick="checkSonMenu(this)">条码绑定</li>
                    </a> <!-- /admin/bind -->
                    {{ else if eq .tid 4 }}
                    <a href="#">
                        <li onclick="checkSonMenu(this)">待办事项</li>
                    </a> <!-- /admin/matter -->
                    <!--/admin/print_code-->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">业务工单</li>
                    </a> <!-- /admin/work -->
                    {{ else if eq .tid 5 }}
                    <a href="#">
                        <li onclick="checkSonMenu(this)">待办事项</li>
                    </a> <!-- /admin/matter -->
                    <!--/admin/print_code-->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">业务工单</li>
                    </a> <!-- /admin/work -->
                    {{ else if eq .tid 6 }}
                    <a href="#">
                        <li onclick="checkSonMenu(this)">待办事项</li>
                    </a> <!-- /admin/matter -->
                    <!--/admin/print_code-->
                    <a href="#">
                        <li onclick="checkSonMenu(this)">业务工单</li>
                    </a> <!-- /admin/work -->
                    {{ else if eq .tid 7 }}
                    <a href="#">
                        <li onclick="checkSonMenu(this)">业务工单</li>
                    </a> <!-- /admin/work -->
                    {{ else if eq .tid 9 }}
                    <a href="#">
                        <li onclick="checkSonMenu(this)">产品组装</li>
                    </a> <!-- /admin/mater_mgr -->
                    <a href="/admin/scanQrCode">
                        <li>仓库出货</li>
                    </a>
                    <a href="#">
                        <li onclick="checkSonMenu(this)" id="CodeMenu">条码打印</li>
                    </a>
                    <a href="#">
                        <li onclick="checkSonMenu(this)">条码绑定</li>
                    </a> <!-- /admin/bind -->
                    {{ end }}
                </ul>
            </li>
            <li id="list_3">报表查询(需要的报表联系技术部开发)
                <i class="menu_list_ico_3 glyphicon glyphicon-chevron-right" onclick="showHide(this)"></i>
                <ul class="menu_list_ul2_3" style="display: none">
                    <a>
                        <li onclick="checkSonMenu(this)">出货统计</li>
                    </a>
                    <a href="#">
                        <li onclick="checkSonMenu(this)">工单统计</li>
                    </a>
                    <a href="#">
                        <li onclick="checkSonMenu(this)">返修统计</li>
                    </a>
                </ul>
            </li>
        </ul>
    </div>
</div>
<!-- 内容展示面板 -->
<div class="msg_box col-md-10 col-xs-10">
    <!-- title -->
    <div class="msg_nav">
        <div class="menu_shrink" onclick="shrinkBtn()"><i class="glyphicon glyphicon-resize-small shrink_ico"></i>
        </div>
        <div class="menu_search">
            <ul class="search_group">
                <li class="search_form">
                    <!-- placeholder：设置输入框默认的提示文字 -->
                    <input type="text" name="ldssnum" placeholder="输入条码搜索" class="search_input">
                    <span id="reIptDat" onclick="rmIptDat()">X</span>
                    <button type="submit" class="input_sub" onclick="searchDat()">搜索</button>
                </li>
            </ul>
        </div>
    </div>
    <!-- 导航路径 -->
    <div class="path">
        <span href="/server" style="color: black">您的位置：</span><span id="path_one"></span> <span
            id="path_two"></span>
    </div>
    <!-- 内容展示操作区 -->
    <div class="msg_exhibit_edit">
        <!-- =========================== 用户管理 =============================== -->
        <div class="user_mgr">
            <!-- 用户展示 -->
            <div class="user_exhibit">
                <div id="scrollTable">
                    <table class="thead">
                        <col width="20%">
                        </col>
                        <col width="20%">
                        </col>
                        <col width="20%">
                        </col>
                        <col width="20%">
                        </col>
                        <col width="20%">
                        </col>
                        <!--                        <col width="14.28%"></col>-->
                        <!--                        <col width="14.28%"></col>-->
                        <tbody>
                        <tr>
                            <th>编号</th>
                            <th>登录账号</th>
                            <th>用户姓名</th>
                            <th>用户类别</th>
                            <th colspan="2">操作</th>
                            <!--                            <th>以返数量</th>-->
                            <!--                            <th>返厂时间</th>-->
                        </tr>
                        </tbody>
                    </table>
                    <div>
                        <table class="tbody">
                            <col width="20%">
                            </col>
                            <col width="20%">
                            </col>
                            <col width="20%">
                            </col>
                            <col width="20%">
                            </col>
                            <col width="20%">
                            </col>
                            <!--                            <col width="16.66%"></col>-->
                            <!--                            <col width="14.28%"></col>-->
                            <tbody class="table_data">

                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="add_user btn btn-info" onclick="addUser()">添加用户</div>
            </div>
            <!-- 添加用户 -->
            <div class="user_add">
                <form class="form-horizontal">
                    <div class="form-group">
                        <label for="login_account" class="col-sm-1 control-label">登录账号</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="login_account"
                                   placeholder="请输入该用户用于登录本系统的账号名">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="userName" class="col-sm-1 control-label">用户姓名</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="userName" placeholder="请输入用户姓名">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="userType" class="col-sm-1 control-label">用户类别</label>
                        <div class="col-sm-10">
                            <!--                            <input type="text" class="form-control" id="userType" placeholder="请输入用户姓名">-->
                            <select name="userType" id="userType">
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="user_passwd" class="col-sm-1 control-label">登录密码</label>
                        <div class="col-sm-10">
                            <input type="password" class="form-control" id="user_passwd"
                                   placeholder="请为新增的用户设置一个登录密码">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="user_repasswd" class="col-sm-1 control-label">确认密码</label>
                        <div class="col-sm-10">
                            <input type="password" class="form-control" id="user_repasswd" placeholder="请再次输入密码">
                        </div>
                    </div>
                    <button type="button" class="add_user_btn btn btn-info" style="width: 120px;"
                            onclick="add_user_submit()">提交
                    </button>
                </form>
                <span id="add_user_error">asdfsd</span>
            </div>
            <!-- 修改用户 -->
            <div class="user_change">
                <form>
                    <div class="form-group" style="display: none">
                        <label for="user_id">用户编号</label>
                        <input type="text" class="form-control" id="user_id" placeholder="用户编号">
                    </div>
                    <div class="form-group">
                        <label for="user_account">登录账号</label>
                        <input type="text" class="form-control" id="user_account" placeholder="用户账号">
                    </div>
                    <div class="form-group">
                        <label for="user_name">用户姓名</label>
                        <input type="text" class="form-control" id="user_name" placeholder="用户姓名">
                    </div>
                    <div class="form-group">
                        <label for="changeUserType">用户类别</label>
                        <select name="userType" id="changeUserType">
                            <!--                                <option value=""></option>-->
                        </select>
                    </div>
                    <div class="form-group">
                        <label for="user_pwd">登录密码</label>
                        <input type="password" class="form-control" id="user_pwd"
                               placeholder="如需修改密码，直接输入即可，否则留空">
                    </div>
                    <button type="button" class="btn btn-info change_user_btn" style="width: 120px"
                            onclick="change_user_submit()">提交
                    </button>
                </form>
                <span style="color: orangered;margin-left: 25px;font-size: 13px;display: none;"
                      id="change_user_error">asdfsd</span>
            </div>
            <!-- 删除用户弹窗提示 -->
            <div class="user_send_con">
                <div class="user_send">
                    <div class="user_send_info">
                        <span id="warning">警告！！！您即将删除下列用户数据</span>
                        <span class="close glyphicon glyphicon-remove"></span>
                        <hr>
                        <div class="del_user_info">
                            <ul class="list-group">
                                <li class="list-group-item"><strong>用户编号：</strong><span id="del_user_id"></span>
                                </li>
                                <li class="list-group-item"><strong>登录账号：</strong><span
                                        id="del_user_account"></span>
                                </li>
                                <li class="list-group-item"><strong>用户名称：</strong><span id="del_user_name"></span>
                                </li>
                            </ul>
                        </div>
                        <button class="btn btn-warning del_btn" onclick="del_info(this)">确认删除</button>
                    </div>
                </div>
                <!-- 该 div 用来设置弹框的整个背景，即弹框透明的部分 -->
                <div class="user_send_mask"></div>
            </div>
        </div>
        <!-- =========================== 客户管理 =============================== -->
        <div class="client_mgr">
            <!-- 客户展示 -->
            <div class="client_exhibit">
                <div id="client_scrollTable">
                    <table class="thead">
                        <col width="5%">
                        <col width="10%">
                        <col width="15%">
                        <col width="60%">
                        <col width="10%">
                        <tbody>
                        <tr>
                            <th>客户编号</th>
                            <th>客户姓名</th>
                            <th>联系方式</th>
                            <th>联系地址</th>
                            <th colspan="2">操作</th>
                        </tr>
                        </tbody>
                    </table>
                    <div>
                        <table class="tbody">
                            <col width="5%">
                            <col width="10%">
                            <col width="15%">
                            <col width="60%">
                            <col width="10%">
                            <tbody class="table_data">

                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="add_client btn btn-info" onclick="addClient()">添加客户</div>
            </div>
            <!-- 添加客户 -->
            <div class="client_add">
                <form class="form-horizontal">
                    <div class="form-group">
                        <label for="clientName" class="col-sm-1 control-label">客户姓名</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="clientName" placeholder="请输入客户姓名">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="client_phone" class="col-sm-1 control-label">联系方式</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="client_phone" placeholder="请输入客户联系方式">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="client_addr" class="col-sm-1 control-label">客户地址</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="client_addr" placeholder="请输入客户地址">
                        </div>
                    </div>
                    <button type="button" class="add_client_btn btn btn-info" style="width: 120px;"
                            onclick="add_client_submit()">提交
                    </button>
                </form>
                <span id="add_client_error">asdfsd</span>
            </div>
            <!-- 修改客户 -->
            <div class="client_change">
                <form>
                    <div class="form-group" style="display: none">
                        <label for="client_id">用户编号</label>
                        <input type="text" class="form-control" id="client_id" placeholder="用户编号">
                    </div>
                    <div class="form-group">
                        <label for="client_name">客户姓名</label>
                        <input type="text" class="form-control" id="client_name" placeholder="客户姓名">
                    </div>
                    <div class="form-group">
                        <label for="clientPhone">联系方式</label>
                        <input type="text" class="form-control" id="clientPhone" placeholder="联系方式">
                    </div>
                    <div class="form-group">
                        <label for="clientAddr">客户地址</label>
                        <input type="text" class="form-control" id="clientAddr" placeholder="客户地址">
                    </div>
                    <button type="button" class="btn btn-info change_client_btn" style="width: 120px"
                            onclick="change_client_submit()">提交
                    </button>
                </form>
                <span style="color: orangered;margin-left: 25px;font-size: 13px;display: none;"
                      id="change_client_error">asdfsd</span>
            </div>
            <!-- 删除客户弹窗提示 -->
            <div class="client_send_con">
                <div class="client_send">
                    <div class="client_send_info">
                        <span id="client_warning">警告！！！您即将删除下列客户数据</span>
                        <span class="close glyphicon glyphicon-remove"></span>
                        <hr>
                        <div class="del_client_info">
                            <ul class="list-group">
                                <li class="list-group-item"><strong>客户编号：</strong><span id="del_client_id"></span>
                                </li>
                                <li class="list-group-item"><strong>客户姓名：</strong><span id="del_client_name"></span>
                                </li>
                                <li class="list-group-item"><strong>联系方式：</strong><span
                                        id="del_client_phone"></span>
                                </li>
                                <li class="list-group-item"><strong>客户地址：</strong><span id="del_client_addr"></span>
                                </li>
                            </ul>
                        </div>
                        <button class="btn btn-warning del_btn" onclick="del_info(this)">确认删除</button>
                    </div>
                </div>
                <!-- 该 div 用来设置弹框的整个背景，即弹框透明的部分 -->
                <div class="client_send_mask"></div>
            </div>
        </div>
        <!-- ========================== 物流公司管理 ============================ -->
        <div class="wuLiu_mgr">
            <!-- 物流展示 -->
            <div class="wuLiu_exhibit">
                <div id="wuliu_scrollTable">
                    <table class="thead">
                        <col width="5%">
                        </col>
                        <col width="28.333%">
                        </col>
                        <col width="28.333%">
                        </col>
                        <col width="28.333%">
                        </col>
                        <col width="10%">
                        </col>
                        <!--                        <col width="14.28%"></col>-->
                        <!--                        <col width="14.28%"></col>-->
                        <tbody>
                        <tr>
                            <th>编号</th>
                            <th>物流公司名称</th>
                            <th>对接人员</th>
                            <th>联系方式</th>
                            <th colspan="2">操作</th>
                            <!--                            <th>以返数量</th>-->
                            <!--                            <th>返厂时间</th>-->
                        </tr>
                        </tbody>
                    </table>
                    <div>
                        <table class="tbody">
                            <col width="5%">
                            </col>
                            <col width="28.333%">
                            </col>
                            <col width="28.333%">
                            </col>
                            <col width="28.333%">
                            </col>
                            <col width="10%">
                            </col>
                            <!--                            <col width="16.66%"></col>-->
                            <!--                            <col width="14.28%"></col>-->
                            <tbody class="table_data">

                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="add_client btn btn-info" onclick="addWuLiu()">添加物流</div>
            </div>
            <!-- 添加物流 -->
            <div class="wuLiu_add">
                <form class="form-horizontal">
                    <div class="form-group">
                        <label for="wuLiu_name" class="col-sm-1 control-label">物流公司</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="wuLiu_name" placeholder="请输入物流公司名称">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="butt_people" class="col-sm-1 control-label">对接人</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="butt_people"
                                   placeholder="请输入与该物流公司的对接人">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="butt_phone" class="col-sm-1 control-label">联系方式</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="butt_phone"
                                   placeholder="请输入对接人的联系方式">
                        </div>
                    </div>
                    <button type="button" class="add_wuLiu_btn btn btn-info" style="width: 120px;"
                            onclick="add_wuLiu_submit()">提交
                    </button>
                </form>
                <span id="add_wuLiu_error">asdfsd</span>
            </div>
            <!-- 修改物流 -->
            <div class="wuLiu_change">
                <form>
                    <div class="form-group" style="display: none;">
                        <label for="wuLiuId">编号</label>
                        <input type="text" class="form-control" id="wuLiuId" placeholder="编号">
                    </div>
                    <div class="form-group">
                        <label for="wuLiuName">物流公司</label>
                        <input type="text" class="form-control" id="wuLiuName" placeholder="物流公司名称">
                    </div>
                    <div class="form-group">
                        <label for="buttPeople">对接人</label>
                        <input type="text" class="form-control" id="buttPeople" placeholder="对接人">
                    </div>
                    <div class="form-group">
                        <label for="buttPhone">联系方式</label>
                        <input type="text" class="form-control" id="buttPhone" placeholder="联系方式">
                    </div>
                    <button type="button" class="btn btn-info change_client_btn" style="width: 120px"
                            onclick="change_wuLiu_submit()">提交
                    </button>
                </form>
                <span style="color: orangered;margin-left: 25px;font-size: 13px;display: none;"
                      id="change_wuLiu_error">asdfsd</span>
            </div>
            <!-- 删除物流弹窗提示 -->
            <div class="wuLiu_send_con">
                <div class="wuLiu_send">
                    <div class="wuLiu_send_info">
                        <span id="wuLiu_warning">警告！！！您即将删除下列物流信息</span>
                        <span class="close glyphicon glyphicon-remove"></span>
                        <hr>
                        <div class="del_wuLiu_info">
                            <ul class="list-group">
                                <li class="list-group-item"><strong>编号：</strong><span id="del_wuLiu_id"></span>
                                </li>
                                <li class="list-group-item"><strong>物流公司：</strong><span id="del_wuLiu_name"></span>
                                </li>
                                <li class="list-group-item"><strong>对接人：</strong><span
                                        id="del_wuLiu_phone"></span>
                                </li>
                                <li class="list-group-item"><strong>联系方式：</strong><span id="del_wuLiu_addr"></span>
                                </li>
                            </ul>
                        </div>
                        <button class="btn btn-warning del_btn" onclick="del_info(this)">确认删除</button>
                    </div>
                </div>
                <!-- 该 div 用来设置弹框的整个背景，即弹框透明的部分 -->
                <div class="wuLiu_send_mask"></div>
            </div>
        </div>
        <!-- =========================== 物料管理 =============================== -->
        <div class="mater_mgr">
            <div class="serMater">
                <div class="materErr">
                    <span id="materErrShow">ss</span>
                </div>
                <div class="searchPanel">
                    <input type="text" name="ldssnum" placeholder="输入物料信息搜索" class="search_mater_input">
                    <button type="submit" class="serMaterSub" onclick="searchMaterDat()">搜索</button>
                </div>
            </div>
            <!-- 物料展示 -->
            <div class="mater_exhibit">
                <div id="mater_scrollTable">
                    <table class="thead">
                        <col width="10%">
                        </col>
                        <col width="25%">
                        <col width="15%">
                        </col>
                        <col width="25%">
                        <col width="15%">
                        </col>
                        <!--                            <col width="65%"></col>-->
                        <col width="10%">
                        </col>
                        <!--                        <col width="14.28%"></col>-->
                        <!--                        <col width="14.28%"></col>-->
                        <tbody>
                        <tr>
                            <th>系统编号</th>
                            <th>物料名称</th>
                            <th>物料品牌</th>
                            <th>规则型号</th>
                            <th>物料类型</th>
                            <th colspan="2">操作</th>
                        </tr>
                        </tbody>
                    </table>
                    <div>
                        <table class="tbody">
                            <col width="10%">
                            </col>
                            <col width="25%">
                            <col width="15%">
                            </col>
                            <col width="25%">
                            <col width="15%">
                            </col>
                            <col width="10%">
                            </col>
                            <tbody class="table_data"></tbody>
                        </table>
                    </div>
                </div>
                <div class="uploadMater">
                    <span>基础物料导入:</span> <a href="http://sh.lianliwork.com:8088/static/基础物料模板.xlsx" download="基础物料模板.xlsx">模板下载</a>
                    <input type="file" name="file" id="fileInput">
                    <button id="uploadFileBtn" onclick="uploadFile()">上传</button>
                    <p id="fileTishi">资料上传提示内容</p>
                </div>
                <div class="add_mater btn btn-info" onclick="addMater()">添加物料</div>
            </div>
            <!-- 添加物料 -->
            <div class="mater_add">
                <form class="form-horizontal">
                    <div class="form-group">
                        <label for="materName" class="col-sm-1 control-label">物料名称</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="materName" placeholder="请输入物料名称">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="brand" class="col-sm-1 control-label">物料品牌</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="brand" placeholder="请输入物料品牌信息">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="materModel" class="col-sm-1 control-label">规格型号</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="materModel" placeholder="请输入规格型号">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="add_bom_name_mater" class="col-sm-1 control-label">物料类型</label>
                        <div class="col-sm-10">
                            <!--                            <input type="text" class="form-control" id="cfgVer" placeholder="若添加的物料为成品或半成品请输入版本名称，基础物料则无需输入">-->
                            <select name="bom_name_mater" id="add_bom_name_mater"></select>
                        </div>
                    </div>
                    <button type="button" class="add_mater_btn btn btn-info" style="width: 120px;"
                            onclick="add_mater_submit()">提交
                    </button>
                </form>
                <span id="add_mater_error">asdfsd</span>
            </div>
            <!-- 修改物料 -->
            <div class="mater_change">
                <form>
                    <div class="form-group" style="display: none">
                        <label for="mater_id">物料编号</label>
                        <input type="text" class="form-control" id="mater_id" placeholder="物料编号">
                    </div>
                    <div class="form-group">
                        <label for="materName">物料名称</label>
                        <input type="text" class="form-control" id="mater_name" placeholder="物料名称">
                    </div>
                    <div class="form-group">
                        <label for="mater_brand">物料品牌</label>
                        <input type="text" class="form-control" id="mater_brand" placeholder="物料名称">
                    </div>
                    <div class="form-group">
                        <label for="materModel">规格型号</label>
                        <input type="text" class="form-control" id="mater_model" placeholder="规格型号">
                    </div>
                    <div class="form-group">
                        <label for="che_bom_name_mater">物料类型</label>
                        <!--                        <input type="text" class="form-control" id="mater_cfg" placeholder="配置版本">-->
                        <select name="che_bom_name_mater" id="che_bom_name_mater"></select>
                    </div>
                    <button type="button" class="btn btn-info change_mater_btn" style="width: 120px"
                            onclick="change_mater_submit()">提交
                    </button>
                </form>
                <span style="color: orangered;margin-left: 25px;font-size: 13px;display: none;"
                      id="change_mater_error">asdfsd</span>
            </div>
            <!-- 删除物料弹窗提示 -->
            <div class="mater_send_con">
                <div class="mater_send">
                    <div class="mater_send_info">
                        <span id="mater_warning">警告！！！您即将删除下列物料数据</span>
                        <span class="close glyphicon glyphicon-remove"></span>
                        <hr>
                        <div class="del_mater_info">
                            <ul class="list-group">
                                <li class="list-group-item"><strong>物料编号：</strong><span id="del_mater_id"></span>
                                </li>
                                <li class="list-group-item"><strong>物料名称：</strong><span id="del_mater_name"></span>
                                </li>
                                <li class="list-group-item"><strong>物料品牌：</strong><span id="del_mater_brand"></span>
                                </li>
                                <li class="list-group-item"><strong>规格型号：</strong><span id="del_mater_model"></span>
                                </li>
                                <!--                                <li class="list-group-item"><strong>关联配置：</strong><span id="del_mater_cfg"></span></li>-->
                            </ul>
                        </div>
                        <button class="btn btn-warning del_btn" onclick="del_info(this)">确认删除</button>
                        <!--                        </form>-->
                    </div>
                </div>
                <!-- 该 div 用来设置弹框的整个背景，即弹框透明的部分 -->
                <div class="mater_send_mask"></div>
            </div>
        </div>
        <!-- ========================== 配置名称 ================================ -->
        <div class="bomName_mgr">
            <!-- 配置名称展示 -->
            <div class="bomName_exhibit">
                <div id="bomName_scrollTable">
                    <table class="thead">
                        <col width="10%">
                        <col width="80%">
                        <col width="10%">
                        <tbody>
                        <tr>
                            <th>系统编号</th>
                            <th>配置名称</th>
                            <th colspan="2">操作</th>
                        </tr>
                        </tbody>
                    </table>
                    <div>
                        <table class="tbody">
                            <col width="10%">
                            <col width="80%">
                            <col width="10%">
                            <tbody class="table_data">

                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="add_mater btn btn-info" onclick="addBomName()">添加BOM名称</div>
            </div>
            <!-- 添加配置 -->
            <div class="bomName_add">
                <form class="form-horizontal">
                    <div class="form-group">
                        <label for="materName" class="col-sm-1 control-label">配置名称</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="addBomName" placeholder="请输入bom名称">
                        </div>
                    </div>
                    <button type="button" class="add_mater_btn btn btn-info" style="width: 120px;"
                            onclick="add_bomName_submit()">提交
                    </button>
                </form>
                <span id="add_bomName_error">asdfsd</span>
            </div>
            <!-- 修改配置 -->
            <div class="bomName_change">
                <form>
                    <div class="form-group" style="display: none">
                        <label for="bm_id">物料编号</label>
                        <input type="text" class="form-control" id="bm_id" placeholder="物料编号">
                    </div>
                    <div class="form-group">
                        <label for="bm_name">配置名称</label>
                        <input type="text" class="form-control" id="bm_name" placeholder="物料名称">
                    </div>
                    <button type="button" class="btn btn-info change_mater_btn" style="width: 120px"
                            onclick="change_bomName_submit()">提交
                    </button>
                </form>
                <span style="color: orangered;margin-left: 25px;font-size: 13px;display: none;"
                      id="change_bomName_error">asdfsd</span>
            </div>
            <!-- 删除配置弹窗提示 -->
            <div class="bomName_send_con">
                <div class="bomName_send">
                    <div class="bomName_send_info">
                        <span id="bomName_warning">警告！！！您即将删除下列数据</span>
                        <span class="close glyphicon glyphicon-remove"></span>
                        <hr>
                        <div class="del_bomName_info">
                            <ul class="list-group">
                                <li class="list-group-item"><strong>配置编号：</strong><span id="del_bomName_id"></span>
                                </li>
                                <li class="list-group-item"><strong>配置名称：</strong><span
                                        id="del_bomName_name"></span>
                                </li>
                            </ul>
                        </div>
                        <button class="btn btn-warning del_btn" onclick="del_bomName_info(this)">确认删除</button>
                        <!--                        </form>-->
                    </div>
                </div>
                <!-- 该 div 用来设置弹框的整个背景，即弹框透明的部分 -->
                <div class="bomName_send_mask"></div>
            </div>
        </div>
        <!-- =========================== 产品组装 =============================== -->
        <div class="goods_up">
            <div class="host form-horizontal">
                <div class="form-group col-sm-6" style="float: left">
                    <label for="product" class="col-sm-2 control-label">成品名称</label>
                    <div class="col-sm-10">
                        <input type="text" list="productName" class="form-control"  id="product" placeholder="请选择或输入过滤选择内容" style="background-color: lightyellow;">
                        <datalist id="productName"></datalist>
                    </div>
                </div>
                <div class="form-group col-sm-6" style="float: left">
                    <label for="product_model" class="col-sm-2 control-label">规格型号</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="product_model" name="product_model"
                               placeholder="输入规格型号">
                    </div>
                </div>
                <div class="form-group col-sm-12" style="float: left">
                    <label for="pro_bom_name" class="col-sm-1 control-label">关联配置</label>
                    <div class="col-sm-11" style="width: 90%;">
                        <input type="text" list="proBomName" class="form-control"  id="pro_bom_name" placeholder="请选择或输入过滤选择内容" style="background-color: lightyellow;">
                        <datalist id="proBomName"></datalist>
<!--                        <select name="pro_bom_name" id="pro_bom_name"></select>-->
                    </div>
                </div>
            </div>
            <hr>
            <div class="child">
                <div id="product_scrollTable">
                    <table class="thead">
                        <col width="5%">
                        </col>
                        <col width="40%">
                        </col>
                        <col width="45%">
                        <col width="10%">
                        </col>
                        <!--                        <col width="65%"></col>-->
                        <!--                        <col width="10%"></col>-->
                        <!--                        <col width="14.28%"></col>-->
                        <!--                        <col width="14.28%"></col>-->
                        <tbody>
                        <tr>
                            <th>编号</th>
                            <th>配件名称</th>
                            <th>规格型号</th>
                            <th>用量</th>
                            <!--                            <th>联系地址</th>-->
                            <!--                            <th colspan="2">操作</th>-->
                            <!--                            <th>以返数量</th>-->
                            <!--                            <th>返厂时间</th>-->
                        </tr>
                        </tbody>
                    </table>
                    <div>
                        <table class="tbody">
                            <col width="5%">
                            </col>
                            <col width="40%">
                            </col>
                            <col width="45%">
                            <col width="10%">
                            </col>
                            <tbody class="table_data"></tbody>
                        </table>
                    </div>
                </div>
                <span id="materBindErr"></span>
                <div class="add_mater btn btn-info" onclick="submitBtn(this)" style="width: 120px">提交</div>
            </div>
        </div>
        <!-- =========================== 打印机管理 ============================= -->
        <div class="print_mgr">
            <!-- 打印机展示 -->
            <div class="print_exhibit">
                <div id="print_scrollTable">
                    <table class="thead">
                        <col width="5%">
                        </col>
                        <col width="15%">
                        </col>
                        <col width="35%">
                        </col>
                        <col width="35%">
                        </col>
                        <col width="10%">
                        </col>
                        <!--                        <col width="14.28%"></col>-->
                        <!--                        <col width="14.28%"></col>-->
                        <tbody>
                        <tr>
                            <th>打印机编号</th>
                            <th>打印机名称</th>
                            <th>打印机地址</th>
                            <th>BT服务地址</th>
                            <!--                            <th>联系地址</th>-->
                            <th colspan="2">操作</th>
                            <!--                            <th>以返数量</th>-->
                            <!--                            <th>返厂时间</th>-->
                        </tr>
                        </tbody>
                    </table>
                    <div>
                        <table class="tbody">
                            <col width="5%">
                            </col>
                            <col width="15%">
                            </col>
                            <col width="35%">
                            </col>
                            <col width="35%">
                            </col>
                            <col width="10%">
                            </col>
                            <!--                            <col width="16.66%"></col>-->
                            <!--                            <col width="14.28%"></col>-->
                            <tbody class="table_data"></tbody>
                        </table>
                    </div>
                </div>
                <div class="add_print btn btn-info" onclick="addPrint()">添加打印机</div>
            </div>
            <!-- 添加打印机 -->
            <div class="print_add">
                <form class="form-horizontal">
                    <div class="form-group">
                        <label for="printName" class="col-sm-1 control-label">打印机名</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="printName" placeholder="请输入打印机名称">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="printAddr" class="col-sm-1 control-label">打印机地址</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="printAddr" placeholder="请输入打印机地址">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="BTServer" class="col-sm-1 control-label">BT服务地址</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="BTServer"
                                   placeholder="服务器地址默认为：https://www.xxx.xxxx.xx:port,若有多台与改地址不同可在此处输入添加，否则无需填写">
                        </div>
                    </div>
                    <button type="button" class="add_print_btn btn btn-info" style="width: 120px;"
                            onclick="add_print_submit()">提交
                    </button>
                </form>
                <span id="add_print_error">asdfsd</span>
            </div>
            <!-- 修改打印机 -->
            <div class="print_change">
                <form>
                    <div class="form-group" style="display: none">
                        <label for="print_id">打印机编号</label>
                        <input type="text" class="form-control" id="print_id" placeholder="打印机编号">
                    </div>
                    <div class="form-group">
                        <label for="print_Name">打印机名称</label>
                        <input type="text" class="form-control" id="print_Name" placeholder="打印机名称">
                    </div>
                    <div class="form-group">
                        <label for="print_addr">打印机地址</label>
                        <input type="text" class="form-control" id="print_addr" placeholder="打印机地址">
                    </div>
                    <div class="form-group">
                        <label for="bt_server">BT服务地址</label>
                        <input type="text" class="form-control" id="bt_server" placeholder="BT服务地址">
                    </div>
                    <button type="button" class="btn btn-info change_print_btn" style="width: 120px"
                            onclick="change_print_submit()">提交
                    </button>
                </form>
                <span style="color: orangered;margin-left: 25px;font-size: 13px;display: none;"
                      id="change_print_error">asdfsd</span>
            </div>
            <!-- 删除打印机弹窗提示 -->
            <div class="print_send_con">
                <div class="print_send">
                    <div class="print_send_info">
                        <span id="print_warning">警告！！！您即将删除下列客户数据</span>
                        <span class="close glyphicon glyphicon-remove"></span>
                        <hr>
                        <div class="del_print_info">
                            <ul class="list-group">
                                <li class="list-group-item"><strong>打印机编号：</strong><span id="del_print_id"></span>
                                </li>
                                <li class="list-group-item"><strong>打印机名称：</strong><span
                                        id="del_print_name"></span>
                                </li>
                                <li class="list-group-item"><strong>打印机地址：</strong><span
                                        id="del_print_addr"></span>
                                </li>
                                <li class="list-group-item"><strong>BT服务地址：</strong><span id="del_bt_addr"></span>
                                </li>
                            </ul>
                        </div>
                        <button class="btn btn-warning del_btn" onclick="del_info(this)">确认删除</button>
                        <!--                        </form>-->
                    </div>
                </div>
                <!-- 该 div 用来设置弹框的整个背景，即弹框透明的部分 -->
                <div class="print_send_mask"></div>
            </div>
        </div>
        <!-- =========================== 条码打印 =============================== -->
        <div class="code_mgr">
            <form class="print_qrcode">
                <div class="choice_plate">
                    <div class="choice"><strong>选择序号头字母: </strong></div>
                    <ul class="choicebox">
                        <li>
                            <label class="radio choose">
                                <input type="radio" name="chose" id="inlineRadio1" value="LC"> LC-CPU
                            </label>
                        </li>
                        <li>
                            <label class="radio choose">
                                <input type="radio" name="chose" id="inlineRadio2" value="LF"> LF-散热器
                            </label>
                        </li>
                        <li>
                            <label class="radio choose">
                                <input type="radio" name="chose" id="inlineRadio3" value="LN"> LN-内存
                            </label>
                        </li>
                        <li>
                            <label class="radio choose">
                                <input type="radio" name="chose" id="inlineRadio4" value="LD"> LD-硬盘
                            </label>
                        </li>
                        <li>
                            <label class="radio choose">
                                <input type="radio" name="chose" id="inlineRadio5" value="LX"> LX-显卡
                            </label>
                        </li>
                        <li>
                            <label class="radio choose">
                                <input type="radio" name="chose" id="inlineRadio6" value="LB"> LB-主板
                            </label>
                        </li>
                        <li>
                            <label class="radio choose">
                                <input type="radio" name="chose" id="inlineRadio7" value="LP"> LP-电源
                            </label>
                        </li>
                        <li>
                            <label class="radio choose">
                                <input type="radio" name="chose" id="inlineRadio8" value="LZ"> LZ-专业机
                            </label>
                        </li>
                        <li>
                            <label class="radio choose">
                                <input type="radio" name="chose" id="inlineRadio9" value="WM"> WM-整机
                            </label>
                        </li>
                        <li>
                            <label class="radio choose">
                                <input type="radio" name="chose" id="inlineRadio10" value="DP"> DP-单品
                            </label>
                        </li>
                    </ul>
                </div>
                <div class="form-group input_grep">
                    <label class="input_label" for="print_version">选择成品的配置:</label>
                    <input type="text" list="cfgName" name="print_version" class="form-control" id="print_version"
                           placeholder="请选择或输入过滤选择内容">
                    <datalist id="cfgName"></datalist>
                    <!--                    <select name="print_version" class="form-control" id="print_version"></select>-->
                </div>
                <div class="form-group input_grep">
                    <label class="input_label">选择关联的物料:</label>
                    <input type="text" list="modeName" class="form-control" name="mode" id="mode"
                           placeholder="请选择或输入过滤选择内容">
                    <datalist id="modeName"></datalist>
                </div>
                <div class="form-group input_grep">
                    <label class="input_label">选择关联的客户:</label>
                    <input type="text" list="client" class="form-control" name="client" id="cName"
                           placeholder="请选择或输入过滤选择内容">
                    <datalist id="client"></datalist>

<!--                    <select name="client" class="form-control" id="client"></select>-->
                </div>
                <div class="form-group input_grep">
                    <label class="input_label">选择关联的销售:</label>
                    <select name="sale" class="form-control" id="sale"></select>
                </div>
                <div class="example form-group input_grep">
                    <label class="input_label">选择生产日期:</label>
                    <input type="text" class="layui-input" name="createDate" id="test1" placeholder="yyyy-MM-dd">
                </div>
                <div class="example form-group input_grep">
                    <label class="input_label">输入打印数量:</label>
                    <input type="text" class="printNum" name="printNum"
                           placeholder="请输入需要打印的二维码数量">
                </div>
                <div class="form-group input_grep">
                    <label class="input_label">选择打印机:</label>
                    <select name="printer" class="form-control" id="printer"></select>
                </div>
                <button type="button" class="sub_btn_print btn btn-info" onclick="sub_print(this)">打印</button>
            </form>
            <div id="print_code_err"><span>sdcd</span></div>
        </div>
        <!-- =========================== 待办事项 =============================== -->
        <div class="todo_mgr">
            <div class="todo_btn_group">
                <ul>
                    <li>
                        <button type="button" class="btn btn-default" onclick="choose_todo(this)">所&nbsp;&nbsp;&nbsp;&nbsp;有</button>
                    </li>
                    <li>
                        <button type="button" class="btn btn-warning" onclick="choose_todo(this)">待审核</button>
                    </li>
                    <li>
                        <button type="button" class="btn btn-success" onclick="choose_todo(this)">已审核</button>
                    </li>
                </ul>
                <span id="upcoming_err">错误提示!</span>
            </div>
            <div class="todo_table">
                <!-- 未完成待办事项内容 -->
                <div class="undone_table">
                    <div class="table_info">
                        <ul class="undone_list-group"></ul>
                    </div>
                </div>
                <!-- 已完成待办事项内容 -->
                <div class="finish_table">
                    <div class="table_info">
                        <ul class="finish_list-group"></ul>
                    </div>
                </div>
                <!-- 所有待办事项内容 -->
                <div class="all_table">
                    <div class="table_info">
                        <ul class="all_list-group"></ul>
                    </div>
                </div>
            </div>
            <!-- 待办事项详情弹窗 -->
            <div class="upcoming_send_con">
                <div class="upcoming_send">
                    <div class="upcoming_send_info">
                        <span id="upcoming_warning">待办事项详情内容如下：</span>
                        <span class="close glyphicon glyphicon-remove"></span>
                        <hr>
                        <div class="del_upcoming_info">
                            <ul></ul>
                        </div>
                        <!-- 判断如果对应事件状态为 1 则表示完成，则不显示该按钮 -->
                        <span id="upcomingErr"></span>
                        <button class="btn btn-success del_btn" onclick="audit_btn(this)">审批</button>
                    </div>
                </div>
                <!-- 该 div 用来设置弹框的整个背景，即弹框透明的部分 -->
                <div class="mater_upcoming_mask"></div>
            </div>
        </div>
        <!-- =========================== 业务工单 =============================== -->
        <div class="work_mgr">
            <div class="work_choose">
                <ul>
                    <li>
                        <button type="button" class="btn btn-default" onclick="choose_work(this)">所&nbsp;&nbsp;&nbsp;&nbsp;有</button>
                    </li>
                    <li>
                        <button type="button" class="btn btn-primary" onclick="choose_work(this)">返厂中</button>
                    </li>
                    <li>
                        <button type="button" class="btn btn-info" onclick="choose_work(this)">已接收</button>
                    </li>
                    <li>
                        <button type="button" class="btn btn-warning" onclick="choose_work(this)">维修中</button>
                    </li>
                    <li>
                        <button type="button" class="btn btn-success" onclick="choose_work(this)">待返客</button>
                    </li>
                    <li class="workSearchGroup" style="float:right;">
                        <div class="layui-inline searchInputGroup">
                            <div class="layui-inline" id="test-range" lay-key="1">
                                <div class="layui-input-inline dateChooseInput">
                                    <input type="text" name="startDate" id="startDate" class="layui-input" placeholder="开始日期">
                                </div>
                                <div class="layui-input-inline dateChooseInput">
                                    <input type="text" name="endDate" id="endDate" class="layui-input" placeholder="结束日期">
                                </div>
                            </div>
                        </div>
                        <div class="searchWorkGroup">
                            <div class="serWork">
                                <div class="searchWorkInputPanel">
                                    <input type="text" name="ldssnum" placeholder="输入工单信息进行搜索" class="search_work_input">
                                    <button type="submit" class="serWorkSub" onclick="searchWorkDat()">搜索</button>
                                </div>
                            </div>
                        </div>
                    </li>
                </ul>
                <span id="work_err">asdfsdgsdf</span>
            </div>
            <!-- 所有工单 -->
            <div class="all_work">
                <table class="thead">
                    <col width="3%">
                    <col width="9.87%">
                    <col width="9.87%">
                    <col width="11.14%">
                    <col width="3%">
                    <col width="8.64%">
                    <col width="6.14%">
                    <col width="3.14%">
                    <col width="4.14%">
                    <col width="4.14%">
                    <col width="4.14%">
                    <col width="3.14%">
                    <col width="4%">
                    <col width="3.14%">
                    <col width="8.14%">
                    <col width="7.14%">
                    <col width="4.845%">
                    <tbody>
                    <tr>
                        <th>工单号</th>
                        <th>设备名称</th>
                        <th>规格型号</th>
                        <th>问题简述</th>
                        <th>数量</th>
                        <th>返厂时间</th>
                        <th>返厂单号</th>
                        <th>类型</th>
                        <th>客户名</th>
                        <th>业务员</th>
                        <th>状态</th>
                        <th>付款</th>
                        <th>外发公司</th>
                        <th>外发单号</th>
                        <th>返客时间</th>
                        <th>返客单号</th>
                        <th colspan="2">操作</th>
                    </tr>
                    </tbody>
                </table>
                <div>
                    <table class="tbody">
                        <col width="3%">
                        <col width="9.87%">
                        <col width="9.87%">
                        <col width="11.14%">
                        <col width="3%">
                        <col width="8.64%">
                        <col width="6.14%">
                        <col width="3.14%">
                        <col width="4.14%">
                        <col width="4.14%">
                        <col width="4.14%">
                        <col width="3.14%">
                        <col width="4%">
                        <col width="3.14%">
                        <col width="8.14%">
                        <col width="7.14%">
                        <col width="4.845%">
                        <tbody class="table_data"></tbody>
                    </table>
                </div>
            </div>
            <!-- 返途中工单, 查找状态为 0 的工单 -->
            <div class="send_work">
                <table class="thead">
                    <col width="3%">
                    <col width="9.87%">
                    <col width="9.87%">
                    <col width="11.14%">
                    <col width="3%">
                    <col width="8.64%">
                    <col width="6.14%">
                    <col width="3.14%">
                    <col width="4.14%">
                    <col width="4.14%">
                    <col width="4.14%">
                    <col width="3.14%">
                    <col width="4%">
                    <col width="3.14%">
                    <col width="8.14%">
                    <col width="7.14%">
                    <col width="4.845%">
                    <tbody>
                    <tr>
                        <th>工单号</th>
                        <th>设备名称</th>
                        <th>规格型号</th>
                        <th>问题简述</th>
                        <th>数量</th>
                        <th>返厂时间</th>
                        <th>返厂单号</th>
                        <th>类型</th>
                        <th>客户名</th>
                        <th>业务员</th>
                        <th>状态</th>
                        <th>付款</th>
                        <th>外发公司</th>
                        <th>外发单号</th>
                        <th>返客时间</th>
                        <th>返客单号</th>
                        <th colspan="2">操作</th>
                    </tr>
                    </tbody>
                </table>
                <div>
                    <table class="tbody">
                        <col width="3%">
                        <col width="9.87%">
                        <col width="9.87%">
                        <col width="11.14%">
                        <col width="3%">
                        <col width="8.64%">
                        <col width="6.14%">
                        <col width="3.14%">
                        <col width="4.14%">
                        <col width="4.14%">
                        <col width="4.14%">
                        <col width="3.14%">
                        <col width="4%">
                        <col width="3.14%">
                        <col width="8.14%">
                        <col width="7.14%">
                        <col width="4.845%">
                        <tbody class="table_data"></tbody>
                    </table>
                </div>
            </div>
            <!-- 已接收工单, 查找状态为 1 的工单 -->
            <div class="recv_work">
                <table class="thead">
                    <col width="3%">
                    <col width="9.87%">
                    <col width="9.87%">
                    <col width="11.14%">
                    <col width="3%">
                    <col width="8.64%">
                    <col width="6.14%">
                    <col width="3.14%">
                    <col width="4.14%">
                    <col width="4.14%">
                    <col width="4.14%">
                    <col width="3.14%">
                    <col width="4%">
                    <col width="3.14%">
                    <col width="8.14%">
                    <col width="7.14%">
                    <col width="4.845%">
                    <tbody>
                    <tr>
                        <th>工单号</th>
                        <th>设备名称</th>
                        <th>规格型号</th>
                        <th>问题简述</th>
                        <th>数量</th>
                        <th>返厂时间</th>
                        <th>返厂单号</th>
                        <th>类型</th>
                        <th>客户名</th>
                        <th>业务员</th>
                        <th>状态</th>
                        <th>付款</th>
                        <th>外发公司</th>
                        <th>外发单号</th>
                        <th>返客时间</th>
                        <th>返客单号</th>
                        <th colspan="2">操作</th>
                    </tr>
                    </tbody>
                </table>
                <div>
                    <table class="tbody">
                        <col width="3%">
                        <col width="9.87%">
                        <col width="9.87%">
                        <col width="11.14%">
                        <col width="3%">
                        <col width="8.64%">
                        <col width="6.14%">
                        <col width="3.14%">
                        <col width="4.14%">
                        <col width="4.14%">
                        <col width="4.14%">
                        <col width="3.14%">
                        <col width="4%">
                        <col width="3.14%">
                        <col width="8.14%">
                        <col width="7.14%">
                        <col width="4.845%">
                        <tbody class="table_data"></tbody>
                    </table>
                </div>
            </div>
            <!-- 维修中工单, 查找状态为 2 的工单 -->
            <div class="repair_work">
                <table class="thead">
                    <col width="3%">
                    <col width="9.87%">
                    <col width="9.87%">
                    <col width="11.14%">
                    <col width="3%">
                    <col width="8.64%">
                    <col width="6.14%">
                    <col width="3.14%">
                    <col width="4.14%">
                    <col width="4.14%">
                    <col width="4.14%">
                    <col width="3.14%">
                    <col width="4%">
                    <col width="3.14%">
                    <col width="8.14%">
                    <col width="7.14%">
                    <col width="4.845%">
                    <tbody>
                    <tr>
                        <th>工单号</th>
                        <th>设备名称</th>
                        <th>规格型号</th>
                        <th>问题简述</th>
                        <th>数量</th>
                        <th>返厂时间</th>
                        <th>返厂单号</th>
                        <th>类型</th>
                        <th>客户名</th>
                        <th>业务员</th>
                        <th>状态</th>
                        <th>付款</th>
                        <th>外发公司</th>
                        <th>外发单号</th>
                        <th>返客时间</th>
                        <th>返客单号</th>
                        <th colspan="2">操作</th>
                    </tr>
                    </tbody>
                </table>
                <div>
                    <table class="tbody">
                        <col width="3%">
                        <col width="9.87%">
                        <col width="9.87%">
                        <col width="11.14%">
                        <col width="3%">
                        <col width="8.64%">
                        <col width="6.14%">
                        <col width="3.14%">
                        <col width="4.14%">
                        <col width="4.14%">
                        <col width="4.14%">
                        <col width="3.14%">
                        <col width="4%">
                        <col width="3.14%">
                        <col width="8.14%">
                        <col width="7.14%">
                        <col width="4.845%">
                        <tbody class="table_data"></tbody>
                    </table>
                </div>
            </div>
            <!-- 已返回工单, 查找状态为 3 的工单 -->
            <div class="return_work">
                <table class="thead">
                    <col width="3%">
                    <col width="9.87%">
                    <col width="9.87%">
                    <col width="11.14%">
                    <col width="3%">
                    <col width="8.64%">
                    <col width="6.14%">
                    <col width="3.14%">
                    <col width="4.14%">
                    <col width="4.14%">
                    <col width="4.14%">
                    <col width="3.14%">
                    <col width="4%">
                    <col width="3.14%">
                    <col width="8.14%">
                    <col width="7.14%">
                    <col width="4.845%">
                    <tbody>
                    <tr>
                        <th>工单号</th>
                        <th>设备名称</th>
                        <th>规格型号</th>
                        <th>问题简述</th>
                        <th>数量</th>
                        <th>返厂时间</th>
                        <th>返厂单号</th>
                        <th>类型</th>
                        <th>客户名</th>
                        <th>业务员</th>
                        <th>状态</th>
                        <th>付款</th>
                        <th>外发公司</th>
                        <th>外发单号</th>
                        <th>返客时间</th>
                        <th>返客单号</th>
                        <th colspan="2">操作</th>
                    </tr>
                    </tbody>
                </table>
                <div>
                    <table class="tbody">
                        <col width="3%">
                        <col width="9.87%">
                        <col width="9.87%">
                        <col width="11.14%">
                        <col width="3%">
                        <col width="8.64%">
                        <col width="6.14%">
                        <col width="3.14%">
                        <col width="4.14%">
                        <col width="4.14%">
                        <col width="4.14%">
                        <col width="3.14%">
                        <col width="4%">
                        <col width="3.14%">
                        <col width="8.14%">
                        <col width="7.14%">
                        <col width="4.845%">
                        <tbody class="table_data"></tbody>
                    </table>
                </div>
            </div>
            <!-- 工单操作弹框 -->
            <div class="work_send_con">
                <div class="work_send">
                    <div class="work_send_info">
                        <span id="work_warning">警告！！！您即将删除下列工单数据</span>
                        <span class="close glyphicon glyphicon-remove"></span>
                        <hr>
                        <div class="del_work_info">
                            <ul class="list-group">
                                <li class="list-group-item"><strong>编号：</strong><span id="del_work_id"></span></li>
                                <li class="list-group-item"><strong>返修物料：</strong><span id="del_work_name"></span>
                                </li>
                                <li class="list-group-item"><strong>规格型号：</strong><span id="del_work_model"></span>
                                </li>
                                <li class="list-group-item"><strong>快递单号：</strong><span id="del_kuaidci_num"></span>
                                </li>
                                <li class="list-group-item"><strong>创建时间：</strong><span id="del_clientName"></span>
                                </li>
                                <li class="list-group-item"><strong>工单类型：</strong><span id="work_type"></span></li>
                                <li class="list-group-item"><strong>客户名称：</strong><span id="del_yewu"></span></li>
                            </ul>
                        </div>
                        <button class="btn btn-warning del_btn" onclick="del_info(this)">确认删除</button>
                        <!--                        </form>-->
                    </div>
                </div>
                <!-- 该 div 用来设置弹框的整个背景，即弹框透明的部分 -->
                <div class="work_send_mask"></div>
            </div>
        </div>
        <!-- =========================== 条码绑定 =============================== -->
        <div class="bind_mgr">
            <div class="choose_station">
                <div class="form-group col-sm-12" style="float: left">
                    <label class="col-sm-1 control-label">绑定类型：</label>
                    <div class="col-sm-11">
                        <select name="station" class="form-control choose_select">
                            <option value="" disabled selected hidden>请根据自身所在工位并正确选择</option>
                            <option value=""></option>
                            <!-- 根据工位表数据渲染 -->
                            <option value="1,主板套件">主板套件</option>
                            <option value="2,成品套件">成品套件</option>
                            <option value="3,独立套件">独立套件</option>
                            <!--                            <option value="3,打螺丝钉">打螺丝钉</option>-->
                        </select>
                    </div>
                </div>
                <div class="form-group col-sm-12" style="float: left">
                    <label class="col-sm-1 control-label">配置名称：</label>
                    <div class="col-sm-11">
                        <input type="text" list="choose_select_version" class="form-control choose_select_version"
                               placeholder="请选择或输入过滤选择内容">
                        <datalist id="choose_select_version"></datalist>
                    </div>
                </div>
            </div>
            <hr>
            <div class="bind_panel">
                <!-- 附件主条码绑定面板 -->
                <div class="bind_annex">
                    <div class="annex_title">
                        <div class="form-group col-sm-6" style="float: left">
                            <label for="annexHostCode" class="col-sm-2 control-label">附件主条码：</label>
                            <div class="col-sm-10">
                                <input type="text" name="annexHostCode" class="form-control" id="annexHostCode"
                                       placeholder="请扫入主板条码">
                            </div>
                        </div>
                    </div>
                    <div class="component_info">
                        <div class="glyphicon glyphicon-minus show_hide"></div>
                        <div class="component_list">
                            <div class="sx"></div>
                            <div class="cpu">
                                <span style="float: left;color: darkgray;margin-top: 4px;">——</span>
                                <label for="cpu_code" class="col-sm-1 control-label">cpu子条码：</label>
                                <div class="col-sm-8 input_group">
                                    <span class="component_num"></span> <!-- 用量，需要从产品配置表中查询出来展示在此处 -->
                                    <input type="text" name="cpu_code" class="form-control" id="cpu_code"
                                           placeholder="请扫入CPU条码">
                                </div>
                            </div>
                            <div class="fan">
                                <span style="float: left;color: darkgray;margin-top: 4px;">——</span>
                                <label for="fan_code" class="col-sm-1 control-label">散热器子条码：</label>
                                <div class="col-sm-8 input_group">
                                    <span class="component_num"></span> <!-- 用量，需要从产品配置表中查询出来展示在此处 -->
                                    <input type="text" name="fan_code" class="form-control" id="fan_code"
                                           placeholder="请扫入散热器条码">
                                </div>
                            </div>
                            <div class="ram">
                                <span style="float: left;color: darkgray;margin-top: 4px;">——</span>
                                <label for="ram_code" class="col-sm-1 control-label">内存子条码：</label>
                                <div class="col-sm-8 input_group">
                                    <span class="component_num"></span>  <!-- 用量，需要从产品配置表中查询出来展示在此处 -->
                                    <!--                                    <input  type="text" name="ram_code" class="form-control" id="ram_code" placeholder="请扫入内存条码">-->
                                    <textarea name="ram_code" class="textarea_input" id="ram_code" cols="122" rows="2"
                                              placeholder="请扫入内存条码"></textarea>
                                </div>
                            </div>
                        </div>
                        <span id="component_info_err">dasfsdfd</span>
                        <div class="component_info_submit_btn">
                            <button class="btn btn-info bind_btn" onclick="annex_code_btn(this)">提交</button>
                        </div>
                    </div>
                </div>
                <!-- 主条码绑定面板 -->
                <div class="bind_component">
                    <div class="host_title">
                        <div class="form-group col-sm-6" style="float: left">
                            <label for="hostCode" class="col-sm-2 control-label">主条码：</label>
                            <div class="col-sm-10">
                                <input type="text" name="hostCode" class="form-control" id="hostCode"
                                       placeholder="请扫入主条码(机箱上的整机条码)">
                            </div>
                        </div>
                    </div>
                    <div class="component">
                        <div class="glyphicon glyphicon-minus host_show_hide" onclick="host_code_show_hide(this)"></div>
                        <div class="sx"></div>
                        <div class="host_annex_list">
                            <div class="annex_host">
                                <span style="float: left;color: darkgray;margin-top: 4px;">——</span>
                                <label for="annex_host_code" class="col-sm-1 control-label">附件主条码：</label>
                                <div class="col-sm-8 input_group">
                                    <input type="text" name="annex_host_code" class="form-control" id="annex_host_code"
                                           placeholder="请扫入附件主条码">
                                </div>
                            </div>
                            <div class="disk_host">
                                <span style="float: left;color: darkgray;margin-top: 4px;">——</span>
                                <label for="annex_disk_code" class="col-sm-1 control-label">硬盘子条码：</label>
                                <div class="col-sm-8 input_group">
                                    <span class="component_num"></span> <!-- 用量，需要从产品配置表中查询出来展示在此处 -->
                                    <!--                                    <input type="text" name="annex_disk_code" class="form-control" id="annex_disk_code" placeholder="请扫入硬盘条码">-->
                                    <textarea name="ram_code" class="textarea_input" id="annex_disk_code" cols="122"
                                              rows="2" placeholder="请扫入硬盘条码"></textarea>
                                </div>
                            </div>
                            <div class="power_host">
                                <span style="float: left;color: darkgray;margin-top: 4px;">——</span>
                                <label for="annex_power_code" class="col-sm-1 control-label">电源子条码：</label>
                                <div class="col-sm-8 input_group">
                                    <span class="component_num"></span> <!-- 用量，需要从产品配置表中查询出来展示在此处 -->
                                    <input type="text" name="annex_power_code" class="form-control"
                                           id="annex_power_code" placeholder="请扫入电源条码">
                                </div>
                            </div>
                            <div class="show_host">
                                <span style="float: left;color: darkgray;margin-top: 4px;">——</span>
                                <label for="show_host" class="col-sm-1 control-label">显卡子条码：</label>
                                <div class="col-sm-8 input_group">
                                    <span class="component_num"></span> <!-- 用量，需要从产品配置表中查询出来展示在此处 -->
                                    <!--                                    <input type="text" name="show_host" class="form-control" id="show_host" placeholder="请扫入显卡条码">-->
                                    <textarea name="ram_code" class="textarea_input" id="show_host" cols="122" rows="2"
                                              placeholder="请扫入显卡条码"></textarea>
                                </div>
                            </div>
                        </div>
                        <span id="component_err">dasfsdfd</span>
                        <div class="component_submit_btn">
                            <button class="btn btn-info bind_btn" onclick="host_code_btn(this)">提交</button>
                        </div>
                    </div>
                </div>

                <!-- todo 新增内容 ---------------------------------------------------------------------------------- -->
                <!-- 电源条码绑定面板 -->
                <div class="bind_power">
                    <div class="power_title">
                        <div class="form-group col-sm-6" style="float: left">
                            <label for="powerHostCode" class="col-sm-2 control-label">主条码：</label>
                            <div class="col-sm-10">
                                <input type="text" name="powerHostCode" class="form-control" id="powerHostCode"
                                       placeholder="请扫入包装箱上的条码">
                            </div>
                        </div>
                    </div>
                    <div class="component_info">
                        <div class="glyphicon glyphicon-minus show_hide"></div>
                        <div class="component_list">
                            <div class="sx"></div>
                            <div class="duli">
                                <span style="float: left;color: darkgray;margin-top: 4px;">|___</span>
                                <label for="power_code" class="col-sm-1 control-label">子条码：</label>
                                <div class="col-sm-8 input_group">
                                    <span class="component_num"></span> <!-- 用量，需要从产品配置表中查询出来展示在此处 -->
                                    <textarea name="power_code" class="form-control" id="power_code" cols="122"
                                              rows="1" placeholder="请扫入子条码"></textarea>
                                </div>
                            </div>
                        </div>
                        <span id="duli_info_err"></span>
                        <div class="component_info_submit_btn">
                            <button class="btn btn-info bind_btn" onclick="duli_code_btn(this)">提交</button>
                        </div>
                    </div>
                </div>
                <!-- todo ------------------------------------------------------------------------------------------ -->
            </div>
        </div>
        <!-- =========================== 搜索内容 =============================== -->
        <div class="search_mgr">
            <div class="searchTishi">
                <span></span>
            </div>
            <!-- 搜索展示 -->
            <div class="search_exhibit">
                <div id="search_scrollTable">
                    <table class="thead">
                        <col width="3%">
                        <col width="15.5%">
                        <col width="15.5%">
                        <col width="15.5%">
                        <col width="15.5%">
                        <col width="15.5%">
                        <col width="15.5%">
                        <col width="4%">
                        <tbody>
                        <tr>
                            <th>系统编号</th>
                            <th>物料名称</th>
                            <th>物料品牌</th>
                            <th>规则型号</th>
                            <th>生产日期</th>
                            <th>条码</th>
                            <th>出厂日期</th>
                            <th>操作</th>
                        </tr>
                        </tbody>
                    </table>
                    <div>
                        <table class="tbody">
                            <col width="3%">
                            <col width="15.5%">
                            <col width="15.5%">
                            <col width="15.5%">
                            <col width="15.5%">
                            <col width="15.5%">
                            <col width="15.5%">
                            <col width="4%">
                            <tbody class="table_data"></tbody>
                        </table>
                    </div>
                </div>
            </div>
            <!-- 搜索信息重新打印条码弹框 -->
            <div class="rePrint_send_con">
                <div class="rePrint_send">
                    <div class="rePrint_send_info">
                        <span id="rePrint_warning">您将为下列物料重新打印条码</span>
                        <span class="close glyphicon glyphicon-remove"></span>
                        <hr>
                        <div class="del_rePrint_info">
                            <ul class="list-group">
                                <li class="list-group-item"><strong>物料名称：</strong><span id="del_rePrint_name"></span>
                                </li>
                                <li class="list-group-item"><strong>物料品牌：</strong><span id="del_rePrint_model"></span>
                                </li>
                                <li class="list-group-item"><strong>规格型号：</strong><span id="del_rePrint_num"></span>
                                </li>
                                <li class="list-group-item"><strong>生产日期：</strong><span id="del_rePrintName"></span>
                                </li>
                                <li class="list-group-item"><strong>条码信息：</strong><span id="rePrint_type"></span></li>
                                <li class="list-group-item"><strong>出厂日期：</strong><span id="rePrint_yewu"></span></li>
                                <li class="list-group-item">
                                    <strong>请选择打印机：</strong>
                                    <select name="printerName" id="printerName"></select>
                                </li>
                            </ul>
                        </div>
                        <button class="btn btn-info del_btn" onclick="rePrint_info(this)">确认打印</button>
                        <!--                        </form>-->
                    </div>
                </div>
                <!-- 该 div 用来设置弹框的整个背景，即弹框透明的部分 -->
                <div class="rePrint_send_mask"></div>
            </div>
        </div>
    </div>
    {{ block "content" .}}{{ end }}
</div>
<!-- 底部栏 -->
<div class="bottom col-md-12 col-xs-12">
    <div class="text_url">
            <span>友情链接:
                <a href="http://cn.lianliwork.com/">链力官网</a> |
                <a href="http://sh.lianliwork.com:8088">链力售后</a> |
                <a href="http://cn.lianliwork.com/about.html">关于我们</a> |
                <a href="https://v3.bootcss.com/">bootstrap</a> |
                <a href="https://www.baidu.com/">百度</a>
            </span>
        <span id="filing">备案号：<i>粤ICP备2022032841号</i></span>
    </div>
</div>
</body>
<script type="application/javascript" src="../../static/js/serIndex.js"></script>
<script type="application/javascript" src="../../static/js/ajaxMethod.js"></script>
<script type="application/javascript" src="../../static/js/codeMgr.js"></script>
<script type="application/javascript" src="../../static/js/goods_up.js"></script>
<script type="application/javascript" src="../../static/js/todoMgr.js"></script>
<script type="application/javascript" src="../../static/js/taskWork.js"></script>
<script type="application/javascript" src="../../static/js/wuLiu.js"></script>
<script type="application/javascript" src="../../static/js/bindCode.js"></script>
<script type="application/javascript" src="../../static/js/bomName.js"></script>
<script type="text/javascript" src="../../static/laydate/laydate.js" charset="UTF-8"></script>
<script type="application/javascript">
    // 时间段时间选择器
    laydate.render({
    elem: '#test-range' //开始时间和结束时间所在 input 框的父选择器
    //设置开始日期、日期日期的 input 选择器
    , range: ['#startDate', '#endDate'] //数组格式为 layui 2.6.6 开始新增
    , type: 'datetime',
    });
    // 选择单个日期
    laydate.render({
        elem: "#test1"
    });
</script>
{{ block "script" .}}{{end}}
</html>
{{end}}